<{include file="common/header.tpl"}>
<link rel="stylesheet" type="text/css" href="<{$smarty.const._DOMAIN_SC_CDN_}>/upload/zx/sc/css/admin/jquery-ui.css"/>
<script language="javascript" src="<{$smarty.const._DOMAIN_SC_CDN_}>/upload/zx/sc/js/admin/jquery-ui.min.js"></script>
<script language="javascript" src="<{$smarty.const._DOMAIN_SC_CDN_}>/upload/zx/sc/js/admin/datepicker-zh.js"></script>
<script>
$(document).ready(function() {
   $( "#WF_DateStart" ).datepicker({ buttonText: 'Choose' });
   $( "#WF_DateEnd" ).datepicker({ buttonText: 'Choose' });
 });
</script>


<div id="contentA" class="clear" style="width:1300px;">
    <div class="rightCont">

    	<h2 class="title01"><span>渠道商列表</span></h2>
        <div class="line1"></div>
		<!--box02 st-->
        <div class="box02">
            <div class="box02_1">
                <div class="search02 clear">
                	<form action="/member/search" id="frm_query" method="get">
					<input type="hidden" value="query" name="action">
                    <ul>
                    <li class="mr5"><input type="text" name="login_name" class="in2" onblur="this.className='in2';if(this.value=='') this.value='填写姓名或者账号';" onfocus="this.className='in1';if(this.value=='填写姓名或者账号') this.value='';" value="填写姓名或者账号" size="20" /></li>
					注册时间： <input id="WF_DateStart" class="in2" type="text" id="begin_time" style="width:131px;padding:1px 5px;height:20px;line-height:20px;" name="begin_time" value="<{$start_time}>"> -
            		<input id="WF_DateEnd" class="in2" type="text" id="end_time" style="width:131px;padding:1px 5px;height:20px; line-height:20px;" name="end_time" value="<{$end_time}>"> 
					<!--状态：<select name="status" id="status">
							<option value="1" <{if $status == 1}>selected="true"<{/if}> >激活</option>
							<option value="0" <{if $status != 1}>selected="true"<{/if}> >未激活</option>
					</select>
					-->	
					<input type="submit" value="查询" class="btn01" />
                    <input type="reset" value="清空" class="btn02" /></li> 
					</ul>
          			</form>
                </div>
				<form id="frm_del" action="/member/del_member" method="post">
				<input type="hidden" value="" name="login_name">
				<input type="hidden" value="del" name="action">
                <div class="box02_Tab">
                	<div class="table01">
                    	<table cellpadding="0" cellspacing="0" width="100%" border="0" id="table">
                        <tr class="th">
                        <th><div class="tl">账号</div></th>
                        <th><div>姓名</div></th>
                        <th><div>手机</div></th>
                        <th><div>注册时间</div></th>
						<th>状态</th>
                        </tr>

						<{foreach from=$data key=key item=item}>
						<tr>
						<td class="tl"><a href="/member/detail/<{$item.uid}>" target="_blank"><{$item.passport}></a></td>
                        <td><a href="/member/detail/<{$item.uid}>" target="_blank"><{if $item.realname}><{$item.realname}><{else}><{$item.nickname}><{/if}></a></td>
						<td><{$item.mobile}></td>
						<td><{$item.create_time}></td>
						<td><{$item.status_name}></td>
                        </tr>
						<{/foreach}>

                        </table>
						<script language="javascript">
						<!--
						//table("表格名称","默认背景""鼠标经过背景","最后一行鼠标经过背景");
						table("table","bg","bg1","bg2");
						-->
						</script>
                    </div>
                </div>
                <div class="box02_lab clear">
                    <ul>
                    <li class="i1"><input name="chk_all" type="checkbox" value="0" onclick="select_all(this);" /> <label>全选</label></li>
             <!--       <li><div class="btn03 btn03_2"><span class="bg6"><a href="javascript:frm_del_submit();">删除</a></span></div></li>
                 -->   </ul>
                </div>
				</form>
                <div class="page clear">
                	共计：<{$total}> &nbsp; <{$pagination}>
                </div>
            </div>
        </div>
        <!--/box02 end-->
        
    </div>
</div>
<script type="text/javascript">

var frm_query = document.getElementById('frm_query');
var frm_del = document.getElementById('frm_del');

frm_query.onsubmit = function ()
{
	with(this)
	{
		if(login_name.value == '填写姓名或者账号')
			login_name.value = '';
	}
}
frm_del.onsubmit = function ()
{
}

with(frm_query)
{
	login_name.value = '<{$login_name}>';
}
</script>
<{include file="common/footer.tpl"}>
